package dnl.math.graph2d;

public class MathCoordinatesPoint {
	public double x;
	public double y;

	public MathCoordinatesPoint() {
	}

	public MathCoordinatesPoint(final double x, final double y) {
		this.x = x;
		this.y = y;
	}

	public int getRoundX(){
		return (int) Math.round(x);
	}

	public int getRoundY(){
		return (int) Math.round(y);
	}

	@Override
	public String toString() {
		return "[x=" + x + ", y=" + y + "]";
	}

}
